home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / LANG / C / LIB / EXPRO / _files / _exprodir / exprodoc < prev    next >
Text File  |  1991-07-02  |  989b  |  34 lines

  1.  
  2. For all Archimedes C programmers outthere.
  3.  
  4. The Norcroft RISCOS ARM C compiler does support
  5. profiling if you specify the -p[x] option on the
  6. commandline. You get a nice list of count values
  7. for every function or block. For optimising purposes
  8. you can pay attention to the function which is called
  9. most.
  10.  
  11. But far more interesting is if you know how much time
  12. is spent in one particular function. A future release
  13. of the C compiler could have this feature as mentioned
  14. in the manual. But I had no time to wait and wrote my
  15. own execution time profiler which I include at the end
  16. of this message (uuencoded, sparked).
  17.  
  18. It is simple to use and works also in the WIMP
  19. environment. When your program uses floating point
  20. arithmetic the total time spent in the fpemulator
  21. will also be shown (my raytracer spends 92% of its
  22. time in the fpemulator code, I need an ARM 4 !!!!).
  23.  
  24. Ferdinand Oeinck
  25. Javalaan 25
  26. 9715 GP  Groningen
  27. The Netherlands
  28. tel ++31(0)50732202
  29. email: hp4nl!neabbs!ferdo
  30.  
  31.  
  32.  
  33.  
  34.